package com.gack.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;

import com.gack.business.model.ConferenceUser;

public interface ConferenceUserRepository extends JpaRepository<ConferenceUser, String>, JpaSpecificationExecutor<ConferenceUser> {
	List<ConferenceUser> findByUid(@Param("uid") String uid);
	List<ConferenceUser> findByCid(@Param("cid") String cid);
	ConferenceUser findByUidAndCid(@Param("uid") String uid, @Param("cid") String cid);

}
